local skel = fk.CreateSkill {
  name = "sj_chongzouxiyou__nifoguohe",
  tags = {Skill.Compulsory},
}

Fk:loadTranslationTable{
  ["sj_chongzouxiyou__nifoguohe"] = "泥佛过河",
  [":sj_chongzouxiyou__nifoguohe"] = "<b>锁定技</b>，回合内，你攻击范围外的其他角色不能使用【桃】和【无懈可击】。",

  ["$sj_chongzouxiyou__nifoguohe1"] = "",
  ["$sj_chongzouxiyou__nifoguohe2"] = "",
}


skel:addEffect("prohibit", {
  prohibit_use = function(self, from, card)
    if table.contains({"peach","nullification"}, card.trueName) then
      local current = Fk:currentRoom().current
      if current:hasSkill(skel.name) and current ~= from then
        return not current:inMyAttackRange(from)
      end
    end
  end,
})


return skel
